Mark get_type() functions generated by glib-mkenums as const.
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Nov 2004 06:30:15 +0000 (06:30 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 28 Nov 2004 06:30:15 +0000 (06:30 +0000)
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf.symbols:
* Makefile.am: Mark get_type() functions generated by glib-mkenums
as const.

gdk-pixbuf/ChangeLog
gdk-pixbuf/Makefile.am
gdk-pixbuf/gdk-pixbuf.symbols

index 31c5ab93fadea2c00378acf374b0bed898c26744..3a90e4868064a28f62c7ff067ae3ca2d9e3e8b58 100644 (file)
@@ -1,3 +1,9 @@
+2004-11-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk-pixbuf.symbols: 
+       * Makefile.am: Mark get_type() functions generated by glib-mkenums 
+       as const.
+
 Thu Nov 25 14:21:37 2004  Manish Singh  <yosh@gi,p.org>
 
        * abicheck.sh: filter out G_GNUC stuff when doing the compare.
index 21f63913fd9af86a994ae0216355235e56224e7a..ee41f7063bb44042cff306148a223e79ccb79d4e 100644 (file)
@@ -363,7 +363,7 @@ s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) Makefile
        ( cd $(srcdir) && glib-mkenums \
                        --fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
                        --fprod "/* enumerations from \"@filename@\" */\n" \
-                       --vhead "GType @enum_name@_get_type (void);\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"         \
+                       --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"         \
                        --ftail "G_END_DECLS\n\n#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \
                $(gdk_pixbuf_headers) ) > tmp-gdk-pixbuf-enum-types.h \
        && (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
index ca3ad33c6c08a31a2c9c5a24255a249476e372fb..72c9e920b9201e38345a28ab07467682a3b57323 100644 (file)
@@ -1,7 +1,7 @@
-gdk_colorspace_get_type
-gdk_interp_type_get_type
+gdk_colorspace_get_type G_GNUC_CONST
+gdk_interp_type_get_type G_GNUC_CONST
 gdk_pixbuf_add_alpha
-gdk_pixbuf_alpha_mode_get_type
+gdk_pixbuf_alpha_mode_get_type G_GNUC_CONST
 gdk_pixbuf_animation_get_height
 gdk_pixbuf_animation_get_iter
 gdk_pixbuf_animation_get_static_image
@@ -11,7 +11,7 @@ gdk_pixbuf_animation_is_static_image
 gdk_pixbuf_animation_iter_advance
 gdk_pixbuf_animation_iter_get_delay_time
 gdk_pixbuf_animation_iter_get_pixbuf
-gdk_pixbuf_animation_iter_get_type
+gdk_pixbuf_animation_iter_get_type G_GNUC_CONST
 gdk_pixbuf_animation_iter_on_currently_loading_frame
 gdk_pixbuf_animation_new_from_file
 gdk_pixbuf_animation_ref
@@ -21,7 +21,7 @@ gdk_pixbuf_composite_color
 gdk_pixbuf_composite_color_simple
 gdk_pixbuf_copy
 gdk_pixbuf_copy_area
-gdk_pixbuf_error_get_type
+gdk_pixbuf_error_get_type 
 gdk_pixbuf_error_quark
 gdk_pixbuf_fill
 gdk_pixbuf_flip
@@ -68,7 +68,7 @@ gdk_pixbuf_new_subpixbuf
 gdk_pixbuf_non_anim_new
 gdk_pixbuf_ref
 gdk_pixbuf_rotate_simple
-gdk_pixbuf_rotation_get_type
+gdk_pixbuf_rotation_get_type G_GNUC_CONST
 gdk_pixbuf_saturate_and_pixelate
 gdk_pixbuf_save
 gdk_pixbuf_save_to_buffer